/**
 * Created by gongxun on 16/11/30.
 */

var HallUserChatMsgResponse = function(){
    var that = new GameResponseBase();

    that.handle = function (binary, msgid) {
        that.loadMessage(binary, msgid);

        if (that.msg.type == 1 || that.msg.type == 2){
            mo.eventHelper.dispatch_1("UserChatMsgResponse", that.msg);
        }else if (that.msg.type == 3){
            mo.eventHelper.dispatch_1("UserChatMsgResponse_reward", that.msg);
        }
    };

    return that;
};